<template>
  <div class='container'>
    <Indent v-if="airData.insurances" :data='airData'/>
  </div>
</template>

<script>
import Indent from '@/components/air/indent'
export default {
  data() {
    return {
      airData: ''
    }
  },
  components: {
    Indent
  },
  mounted() {
    this.$axios({
      url: '/airs/' + this.$route.query.id,
      method: 'get',
      params: {
        seat_xid: this.$route.query.seat_xid
      }
    }).then(res => {
      console.log(res.data)
      this.airData = res.data
      // console.log(this.airData)
    })
  }
}
</script>

<style lang="scss" scoped>
.container {
  width: 1000px;
  margin: 20px auto;
}
</style>